﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CNdotnet.Ezsocio.Core.Validations
{
    public static class ValidationUtility
    {
        public static void IsNullValidate<T>(T t) where T : class
        {
            if (t == null)
            {
                throw new Exception(String.Format("The object of is null", t.ToString()));
            }
        }
    }
}
